import { defineStore } from "pinia";
import { Detail } from "../api/index.js";

export const useDetailStore = defineStore("DetailInfo", {
  state: () => {
    return {
      images: [],
    };
  },
  actions: {
    getDetailInfo(id) {
      return Detail(id)
        
    },
  },
});
